* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 20px;
}

#root, .container {
  width: 100%;
  height: 100%;
}

.inner {
  padding-left: 8px;
  padding-right: 8px;
}

.outer {
  padding-top: 5px;
  padding-bottom: 5px;
}

nav {
  flex: 0 0 32px;
  background-color: #333;
}

a {
  color: #fff;
  text-decoration: none;
  line-height: inherit;
}

ul {
  margin: 0;
}

li {
  list-style: none;
}

section.body {
  padding: 12px;
  width: 98%;
  height: calc(100% - 52px);
  max-width: 1200px;
  font-size: 13px;
}

.inblock {
  display: inline-block;
  vertical-align: text-top;
}

.block {
  width: 100%;
}

.main {
  width: 100%;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow-y: auto;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-end {
  align-items: flex-end;
  justify-content: flex-end;
}
.flex-start {
  justify-content: flex-start;
  align-items: flex-start;
}
.flex-center {
  justify-content: center;
  align-items: center;
}

.direction {
  flex-direction: column;
}

.align {
  align-items: center;
}

.mt-8 {
  margin-top: 8px;
}
.mr-8 {
  margin-right: 8px;
}
.mt-12 {
  margin-top: 12px;
}
.ml-20 {
  margin-left: 20px;
}
.pd-20 {
  padding: 20px;
}

.box {
  padding: 0 8px;
}

.active, .hover:hover {
  color: #1890ff;
  .tip {
    color: #1890ff;
  }
}

.tips {
  border: solid 1px #ffd77a;
  background-color: #fff9e6;
  line-height: 22px;
}
.tip {
  font-size: 12px;
  line-height: 1;
  padding: 4px 0;
  color: #999;
}

.ant-modal-body {
  padding: 0;
}

.modal-login .ant-modal-body {
  padding: 10px 10px 6px;
}

.ant-dropdown-link {
  color: #1890ff;
  font-size: 12px;
}

.center {
  text-align: center;
}

.square-120 {
  width: 120px;
  height: 120px;
}

.copyright {
  margin: 0;
  color: #9a9a9a;
  font-size: 12px;
  line-height: 20px;
}
